package cn.dujc.superkid.bean;

import android.os.Parcelable;

import java.util.List;

/**
 * @author du
 * date 2018/7/28 下午10:01
 */
public class StartRankingResult {


    /**
     * ranking : [{"ranking":1,"username":"Tony Zhan常胜将军","integral":290,"level":"小蝌蚪-虚心求学","answers_num":31,"total_answers_num":158,"correct_answers_num":143},{"ranking":2,"username":"美多多","integral":247,"level":"小蝌蚪-虚心求学","answers_num":83,"total_answers_num":247,"correct_answers_num":3},{"ranking":3,"username":"fzj2007","integral":205,"level":"小蝌蚪-虚心求学","answers_num":28,"total_answers_num":132,"correct_answers_num":119},{"ranking":4,"username":"高平心","integral":187,"level":"小蝌蚪-虚心求学","answers_num":23,"total_answers_num":115,"correct_answers_num":87},{"ranking":5,"username":"@莎菲拉的眼泪","integral":166,"level":"小蝌蚪-虚心求学","answers_num":22,"total_answers_num":92,"correct_answers_num":76},{"ranking":6,"username":"匿名","integral":150,"level":"小蝌蚪-虚心求学","answers_num":16,"total_answers_num":97,"correct_answers_num":58},{"ranking":7,"username":"Harry123456789","integral":132,"level":"小蝌蚪-虚心求学","answers_num":10,"total_answers_num":75,"correct_answers_num":63},{"ranking":8,"username":"浙江小彤sindy","integral":130,"level":"小蝌蚪-虚心求学","answers_num":61,"total_answers_num":110,"correct_answers_num":71},{"ranking":9,"username":"胡城","integral":126,"level":"小蝌蚪-虚心求学","answers_num":42,"total_answers_num":96,"correct_answers_num":68},{"ranking":10,"username":"QQ宝贝","integral":106,"level":"小蝌蚪-虚心求学","answers_num":3,"total_answers_num":53,"correct_answers_num":49},{"ranking":11,"username":"Caroline Y","integral":100,"level":"小蝌蚪-虚心求学","answers_num":7,"total_answers_num":67,"correct_answers_num":59},{"ranking":12,"username":"李世民","integral":99,"level":"小蝌蚪-虚心求学","answers_num":31,"total_answers_num":79,"correct_answers_num":65},{"ranking":13,"username":"匿名","integral":96,"level":"小蝌蚪-虚心求学","answers_num":28,"total_answers_num":79,"correct_answers_num":73},{"ranking":14,"username":"天下称霸❀无人能挡！","integral":88,"level":"小蝌蚪-虚心求学","answers_num":35,"total_answers_num":73,"correct_answers_num":56},{"ranking":15,"username":"匿名","integral":86,"level":"小蝌蚪-虚心求学","answers_num":15,"total_answers_num":66,"correct_answers_num":0},{"ranking":16,"username":"匿名","integral":83,"level":"小蝌蚪-虚心求学","answers_num":5,"total_answers_num":48,"correct_answers_num":40},{"ranking":17,"username":"婧默","integral":81,"level":"小蝌蚪-虚心求学","answers_num":21,"total_answers_num":56,"correct_answers_num":44},{"ranking":18,"username":"辰东","integral":81,"level":"小蝌蚪-虚心求学","answers_num":20,"total_answers_num":71,"correct_answers_num":12},{"ranking":19,"username":"思言","integral":72,"level":"小蝌蚪-虚心求学","answers_num":2,"total_answers_num":36,"correct_answers_num":24},{"ranking":20,"username":"瀚瀚","integral":71,"level":"小蝌蚪-虚心求学","answers_num":15,"total_answers_num":56,"correct_answers_num":54},{"ranking":21,"username":"米琪林","integral":70,"level":"小蝌蚪-虚心求学","answers_num":1,"total_answers_num":35,"correct_answers_num":30},{"ranking":22,"username":"匿名","integral":66,"level":"小蝌蚪-虚心求学","answers_num":2,"total_answers_num":33,"correct_answers_num":25},{"ranking":23,"username":"王牌","integral":64,"level":"小蝌蚪-虚心求学","answers_num":12,"total_answers_num":49,"correct_answers_num":35},{"ranking":24,"username":"幻隐忍者                          ","integral":64,"level":"小蝌蚪-虚心求学","answers_num":35,"total_answers_num":54,"correct_answers_num":49},{"ranking":25,"username":"乖宝","integral":63,"level":"小蝌蚪-虚心求学","answers_num":13,"total_answers_num":37,"correct_answers_num":29},{"ranking":26,"username":"dudulang","integral":62,"level":"小蝌蚪-虚心求学","answers_num":12,"total_answers_num":48,"correct_answers_num":17},{"ranking":27,"username":"珊珊","integral":62,"level":"小蝌蚪-虚心求学","answers_num":8,"total_answers_num":35,"correct_answers_num":30},{"ranking":28,"username":"如来老师","integral":61,"level":"小蝌蚪-虚心求学","answers_num":10,"total_answers_num":41,"correct_answers_num":38},{"ranking":29,"username":"华罗庚","integral":60,"level":"小蝌蚪-虚心求学","answers_num":5,"total_answers_num":35,"correct_answers_num":10},{"ranking":30,"username":"桔子","integral":56,"level":"小蝌蚪-虚心求学","answers_num":28,"total_answers_num":56,"correct_answers_num":41},{"ranking":31,"username":"一一","integral":56,"level":"小蝌蚪-虚心求学","answers_num":52,"total_answers_num":56,"correct_answers_num":54},{"ranking":32,"username":"雨中梧桐","integral":56,"level":"小蝌蚪-虚心求学","answers_num":34,"total_answers_num":56,"correct_answers_num":35},{"ranking":33,"username":"95式   PBP ","integral":53,"level":"小蝌蚪-虚心求学","answers_num":7,"total_answers_num":38,"correct_answers_num":31},{"ranking":34,"username":"yoyolovemonica","integral":53,"level":"小蝌蚪-虚心求学","answers_num":53,"total_answers_num":53,"correct_answers_num":53},{"ranking":35,"username":"Avatar Eli","integral":52,"level":"小蝌蚪-虚心求学","answers_num":14,"total_answers_num":42,"correct_answers_num":28},{"ranking":36,"username":"快乐","integral":50,"level":"小蝌蚪-虚心求学","answers_num":3,"total_answers_num":30,"correct_answers_num":18},{"ranking":37,"username":"大牛蛙","integral":45,"level":"小蝌蚪-虚心求学","answers_num":14,"total_answers_num":37,"correct_answers_num":25},{"ranking":38,"username":"天生我才必有用!!","integral":45,"level":"小蝌蚪-虚心求学","answers_num":2,"total_answers_num":25,"correct_answers_num":23},{"ranking":39,"username":"诚诚1314","integral":45,"level":"小蝌蚪-虚心求学","answers_num":3,"total_answers_num":30,"correct_answers_num":26},{"ranking":40,"username":"虎豆","integral":44,"level":"小蝌蚪-虚心求学","answers_num":5,"total_answers_num":29,"correct_answers_num":20},{"ranking":41,"username":"17390乘3等于","integral":43,"level":"小蝌蚪-虚心求学","answers_num":2,"total_answers_num":23,"correct_answers_num":14},{"ranking":42,"username":"atu","integral":42,"level":"小蝌蚪-虚心求学","answers_num":7,"total_answers_num":27,"correct_answers_num":20},{"ranking":43,"username":"星桐","integral":41,"level":"小蝌蚪-虚心求学","answers_num":10,"total_answers_num":31,"correct_answers_num":28},{"ranking":44,"username":"匿名","integral":41,"level":"小蝌蚪-虚心求学","answers_num":14,"total_answers_num":36,"correct_answers_num":31},{"ranking":45,"username":"出谋化策诸葛亮","integral":41,"level":"小蝌蚪-虚心求学","answers_num":6,"total_answers_num":25,"correct_answers_num":22},{"ranking":46,"username":"匿名","integral":40,"level":"小蝌蚪-虚心求学","answers_num":1,"total_answers_num":20,"correct_answers_num":3},{"ranking":47,"username":"kipper T. Rues","integral":40,"level":"小蝌蚪-虚心求学","answers_num":1,"total_answers_num":20,"correct_answers_num":4},{"ranking":48,"username":"匿名","integral":39,"level":"小蝌蚪-虚心求学","answers_num":13,"total_answers_num":34,"correct_answers_num":30},{"ranking":49,"username":"Oscar","integral":39,"level":"小蝌蚪-虚心求学","answers_num":13,"total_answers_num":34,"correct_answers_num":24},{"ranking":50,"username":"摩托迷","integral":38,"level":"小蝌蚪-虚心求学","answers_num":6,"total_answers_num":28,"correct_answers_num":18}]
     * userInfo : {"integral":444,"inClassPractice":61,"selfTestVolume":7,"cup":3,"test":6,"answer":411,"answerCorrectly":68}
     */

    private UserInfoBean userInfo;
    private List<RankingBean> ranking;

    public UserInfoBean getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfoBean userInfo) {
        this.userInfo = userInfo;
    }

    public List<RankingBean> getRanking() {
        return ranking;
    }

    public void setRanking(List<RankingBean> ranking) {
        this.ranking = ranking;
    }

    public static class UserInfoBean {
        /**
         * integral : 444
         * inClassPractice : 61
         * selfTestVolume : 7
         * cup : 3
         * test : 6
         * answer : 411
         * answerCorrectly : 68
         */

        private int integral;
        private int inClassPractice;
        private int selfTestVolume;
        private int cup;
        private int test;
        private int answer;
        private int answerCorrectly;

        public int getIntegral() {
            return integral;
        }

        public void setIntegral(int integral) {
            this.integral = integral;
        }

        public int getInClassPractice() {
            return inClassPractice;
        }

        public void setInClassPractice(int inClassPractice) {
            this.inClassPractice = inClassPractice;
        }

        public int getSelfTestVolume() {
            return selfTestVolume;
        }

        public void setSelfTestVolume(int selfTestVolume) {
            this.selfTestVolume = selfTestVolume;
        }

        public int getCup() {
            return cup;
        }

        public void setCup(int cup) {
            this.cup = cup;
        }

        public int getTest() {
            return test;
        }

        public void setTest(int test) {
            this.test = test;
        }

        public int getAnswer() {
            return answer;
        }

        public void setAnswer(int answer) {
            this.answer = answer;
        }

        public int getAnswerCorrectly() {
            return answerCorrectly;
        }

        public void setAnswerCorrectly(int answerCorrectly) {
            this.answerCorrectly = answerCorrectly;
        }
    }

    public static class RankingBean {
        /**
         * ranking : 1
         * username : Tony Zhan常胜将军
         * integral : 290
         * level : 小蝌蚪-虚心求学
         * answers_num : 31
         * total_answers_num : 158
         * correct_answers_num : 143
         */

        private int ranking;
        private String username;
        private int integral;
        private String level;
        private int answers_num;
        private int total_answers_num;
        private int correct_answers_num;

        public int getRanking() {
            return ranking;
        }

        public void setRanking(int ranking) {
            this.ranking = ranking;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public int getIntegral() {
            return integral;
        }

        public void setIntegral(int integral) {
            this.integral = integral;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public int getAnswers_num() {
            return answers_num;
        }

        public void setAnswers_num(int answers_num) {
            this.answers_num = answers_num;
        }

        public int getTotal_answers_num() {
            return total_answers_num;
        }

        public void setTotal_answers_num(int total_answers_num) {
            this.total_answers_num = total_answers_num;
        }

        public int getCorrect_answers_num() {
            return correct_answers_num;
        }

        public void setCorrect_answers_num(int correct_answers_num) {
            this.correct_answers_num = correct_answers_num;
        }
    }
}
